<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>菜单</title>
    <style>
        .menu{
            float: left;width: 30%;height: 500px;background-color: antiquewhite;
        }
        .content{
            float: left;width: 70%;height: 500px;background-color: blue;
        }
        .title{
            background-color: black;
            color: white;
            height: 50px;
            line-height: 50px;
        }
        .hide{
            display: none;
        }
    </style>
</head>
<body>
    <div>
        <div class="menu">
            <div class="item">
                <div class="title" onclick="Func(this);">菜单一</div>
                <div class="body">
                    <div>1.1</div>
                    <div>1.2</div>
                    <div>1.3</div>
                </div>
            </div>

            <div class="item">
                 <div class="title" onclick="Func(this);">菜单二</div>
                <div class="body hide">
                    <div>2.1</div>
                    <div>2.2</div>
                    <div>2.3</div>
                </div>
            </div>
        </div>
        <div class="content"></div>
    </div>
    <script src="jquery-2.2.3.js"></script>
    <script>
        function Func(ths){
            $(ths).next().removeClass('hide')
            $(ths).parent().siblings().find('.body').addClass('hide')

        }
    </script>
</body>
</html>